package br.com.gbvbahia.mybooks.service.model;

import java.util.Collection;
import java.util.Hashtable;
import java.util.Vector;

import org.ksoap2.serialization.KvmSerializable;
import org.ksoap2.serialization.PropertyInfo;

public class LivrosModel extends Vector<LivroModel> implements KvmSerializable{

	
	
	public LivrosModel() {
		super();
	}

	public LivrosModel(Collection<? extends LivroModel> collection) {
		super(collection);
	}

	public LivrosModel(int capacity, int capacityIncrement) {
		super(capacity, capacityIncrement);
	}

	public LivrosModel(int capacity) {
		super(capacity);
	}

	@Override
	public Object getProperty(int position) {
		return this.get(position);
	}

	@Override
	public int getPropertyCount() {
		return this.size();
	}

	@Override
	public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
		arg2.name = "livroModelo";
		arg2.type = LivroModel.class;
	}

	@Override
	public void setProperty(int arg0, Object arg1) {
		this.add(arg0, (LivroModel) arg1);
	}

	
}
